package chixing.day11.clone_demo;

public class CloneDemo {

    public static void main(String[] args) throws CloneNotSupportedException {
        // 浅克隆
        Book book1 = new Book(101,"java程序设计",99);
        Object clone = book1.clone();


        Course course1 = new Course(701,"近代文学",3);
        Student student1 = new Student(801,"Allen",20,course1);

        student1.clone();
    }
}
